package com.spring.daily.web.model;

import java.util.Date;

public class WeeklyRecordDetail {
    private String id;

    private String weeklyRecordid;

    private String questionid;

    private String optionid;

    private Date createdtime;

    private Date changedtime;

    private String initialoperatorid;

    private String initialoperatorname;

    private String operatorid;

    private String operatorname;

    private Integer entityavailablestate;
    
    public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	private Integer sort;
    
    public WeeklyRecordDetail(WeeklyRecordQuestionBase weeklyRecordQuestionBase,String weeklyRecordid){
    	this.questionid=weeklyRecordQuestionBase.getQuestionID();
    	this.weeklyRecordid=weeklyRecordid;
    	this.optionid=weeklyRecordQuestionBase.getOptionid();
    	this.sort=weeklyRecordQuestionBase.getSort();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getWeeklyRecordid() {
        return weeklyRecordid;
    }

    public void setWeeklyRecordid(String weeklyRecordid) {
        this.weeklyRecordid = weeklyRecordid == null ? null : weeklyRecordid.trim();
    }

    public String getQuestionid() {
        return questionid;
    }

    public void setQuestionid(String questionid) {
        this.questionid = questionid == null ? null : questionid.trim();
    }

    public String getOptionid() {
        return optionid;
    }

    public void setOptionid(String optionid) {
        this.optionid = optionid == null ? null : optionid.trim();
    }

    public Date getCreatedtime() {
        return createdtime;
    }

    public void setCreatedtime(Date createdtime) {
        this.createdtime = createdtime;
    }

    public Date getChangedtime() {
        return changedtime;
    }

    public void setChangedtime(Date changedtime) {
        this.changedtime = changedtime;
    }

    public String getInitialoperatorid() {
        return initialoperatorid;
    }

    public void setInitialoperatorid(String initialoperatorid) {
        this.initialoperatorid = initialoperatorid == null ? null : initialoperatorid.trim();
    }

    public String getInitialoperatorname() {
        return initialoperatorname;
    }

    public void setInitialoperatorname(String initialoperatorname) {
        this.initialoperatorname = initialoperatorname == null ? null : initialoperatorname.trim();
    }

    public String getOperatorid() {
        return operatorid;
    }

    public void setOperatorid(String operatorid) {
        this.operatorid = operatorid == null ? null : operatorid.trim();
    }

    public String getOperatorname() {
        return operatorname;
    }

    public void setOperatorname(String operatorname) {
        this.operatorname = operatorname == null ? null : operatorname.trim();
    }

    public Integer getEntityavailablestate() {
        return entityavailablestate;
    }

    public void setEntityavailablestate(Integer entityavailablestate) {
        this.entityavailablestate = entityavailablestate;
    }
}